A video decoding method performed by a video decoding device, the method comprising: parsing remaining intra prediction mode information for a current block; deriving neighboring samples of the current block; deriving most probable mode, MPM, list including MPM candidates of the current block; rearranging remaining intra prediction modes excluding the MPM candidates based on a pre-configured order; deriving an intra prediction mode of the current block based on the remaining intra prediction mode information and the rearranged remaining intra prediction modes, wherein the intra prediction mode is an intra prediction mode indicated by the remaining intra prediction mode information among the rearranged remaining intra prediction modes; deriving a prediction sample of the current block based on the intra prediction mode and the neighboring samples; and deriving a reconstructed picture based on the prediction sample, wherein the remaining intra prediction mode information is coded through a truncated binary, TB, binarization process, and wherein a binarization parameter representing a maximum value of the remaining intra prediction information for the TB binarization process is 60, and when a value of the remaining intra prediction mode information is N, an N+1th intra prediction mode among the rearranged remaining intra prediction modes is derived as the intra prediction mode of the current block, and the pre-configured order is as below: {0, 1, 50, 18, 49, 10, 12, 19, 11, 34, 2, 17, 54, 33, 46, 51, 35, 15, 13, 45, 22, 14, 66, 21, 47, 48, 23, 53, 58, 16, 42, 20, 24, 44, 26, 43, 55, 52, 37, 29, 39, 41, 25, 9, 38, 56, 30, 36, 32, 28, 62, 27, 40, 8, 3, 7, 57, 6, 31, 4, 65, 64, 5, 59, 60, 61, 63}. parsing remaining intra prediction mode information for a current block; deriving neighboring samples of the current block; deriving most probable mode, MPM, list including MPM candidates of the current block; rearranging remaining intra prediction modes excluding the MPM candidates based on a pre-configured order; deriving an intra prediction mode of the current block based on the remaining intra prediction mode information and the rearranged remaining intra prediction modes, wherein the intra prediction mode is an intra prediction mode indicated by the remaining intra prediction mode information among the rearranged remaining intra prediction modes; deriving a prediction sample of the current block based on the intra prediction mode and the neighboring samples; and deriving a reconstructed picture based on the prediction sample, wherein the remaining intra prediction mode information is coded through a truncated binary, TB, binarization process, and wherein a binarization parameter representing a maximum value of the remaining intra prediction information for the TB binarization process is 60, and when a value of the remaining intra prediction mode information is N, an N+1th intra prediction mode among the rearranged remaining intra prediction modes is derived as the intra prediction mode of the current block, and the pre-configured order is as below: {0, 1, 50, 18, 49, 10, 12, 19, 11, 34, 2, 17, 54, 33, 46, 51, 35, 15, 13, 45, 22, 14, 66, 21, 47, 48, 23, 53, 58, 16, 42, 20, 24, 44, 26, 43, 55, 52, 37, 29, 39, 41, 25, 9, 38, 56, 30, 36, 32, 28, 62, 27, 40, 8, 3, 7, 57, 6, 31, 4, 65, 64, 5, 59, 60, 61, 63}.