Introduce possibility to sort results