in reply to criteria based array sorting

Thank You all.