Separate sorting methods in differents classes