added getAcending and getDecending, not tested