Ascending logic was incorrect