#include <alignment/algorithms/alignment/sdp/FragmentSort.hpp>

template <typename T_Fragment>
int LexicographicFragmentSort<T_Fragment>::operator()(const T_Fragment &a,
                                                      const T_Fragment &b) const
{
    return a.LessThanXY(b);
}

template <typename T_Fragment>
int LexicographicFragmentSortByY<T_Fragment>::operator()(const T_Fragment &a,
                                                         const T_Fragment &b) const
{
    return a.LessThanYX(b);
}
