camera sorting method implemented