add sorting specs first in order to be able to refactor it