Added depth sorting to beds and sink