removed false z sorting