sorting resources 2