instrumental shade sorting using PCA technique