Extension for mongoid. It adds possibility for sorting relation