Maybe should'nt iterate array using for-in
Tests for receiving anchor field from sort option